const BASE_URL = "http://www.pudge.wang:4000";

const http = {
  get(url) {
    return fetch(BASE_URL + url)
      .then((response) => response.json())
      .then((res) => {
        return res;
      });
  },
};

export default http;
